package com.younker.waf.html;

import java.io.IOException;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.PageContext;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class ResponseUtils {
	private static final Log log = LogFactory.getLog(ResponseUtils.class);
	public static void write(PageContext pctx, String content) throws JspException {
		try{
		   pctx.getOut().print(content);
		}catch(IOException ioe){
		   log.error("pagecontext print error: ",ioe);
		}
	}

}
